package com.sora.sora.common.model.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;


@Data
@AllArgsConstructor
@NoArgsConstructor
public class UserEntity {

    private int id;

    private String name;

    private String password;

    private String email;

    private int gender;

    private String sign;

    private String avatar;

    private Date createTime;

    private int status;

    private Date lastLoginTime;

    private Date lastLogOutTime;

    private String lastLoginIP;

    private Integer isDeleted;

    public UserEntity(String name, String password, String email, Date createTime) {
        this.name = name;
        this.password = password;
        this.email = email;
        this.createTime = createTime;
    }
}
